home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18316 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  859 b 

  1. Path: wilks.demon.co.uk!Ian
  2. From: Ian M Wilks <Ian@wilks.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: goto command
  5. Date: Fri, 19 Apr 1996 00:57:20 +0100
  6. Organization: Ian
  7. Distribution: world
  8. Message-ID: <NF+QRCAgbtdxEwkm@wilks.demon.co.uk>
  9. References: <4k9vne$9lu@nntp.igs.net>
  10. NNTP-Posting-Host: wilks.demon.co.uk
  11. X-NNTP-Posting-Host: wilks.demon.co.uk
  12. MIME-Version: 1.0
  13. X-Newsreader: Turnpike Version 1.10 <xKZkCHGGMISoFYLnpOdd648JTZ>
  14.  
  15. In article <4k9vne$9lu@nntp.igs.net>, Pierre Brazeau <p007@cnwl.igs.net>
  16. writes
  17. >Hello, my name is Mathieu Brazeau and i am having major trouble trying to 
  18. >return the program to a specific area in the program that i want. Like i 
  19. >have my program do somthing and i want it to go back to the begining so i 
  20. >can choose  it to do anyother option. 
  21. >
  22.  
  23.  
  24. Why use goto?
  25. Use a switch statement in a while loop.
  26.  
  27. -- 
  28. Ian
  29.